/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package modele;

/**
 *
 * @author ighembaza
 */
public class Fichier implements Comparable <Fichier>{
    
    private String id;
    private String nom;
    

    public Fichier(String id, String nom) {
        this.id = id;
        this.nom = nom;
    }

    public String getId() {
        return id;
    }

    public String getNom() {
        return nom;
    }    

    @Override
    public int compareTo(Fichier f) {
        return nom.compareTo(f.nom);
    }
    
    
}
